package org.overmind.ieat.server.controllers.login;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author eugene.karanda
 */
@RestController
@RequestMapping("/login")
public class LoginController {

    @RequestMapping(method = RequestMethod.GET)
    public Object login() {
        return new Object() {
            public String getMessage() {
                return "Login success";
            }
        };
    }

}
